+2005-01-03 Matthias Clasen <mclasen@redhat.com>
+
+ Make gtk_icon_theme_load_icon() work independent of
+ icon factory initialization. (#162791, Tristan Van Berkom)
+
+ * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
+ _gtk_icon_factory_ensure_default_icons, and make it non-static.
+
+ * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
+
2005-01-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder):
+2005-01-03 Matthias Clasen <mclasen@redhat.com>
+
+ Make gtk_icon_theme_load_icon() work independent of
+ icon factory initialization. (#162791, Tristan Van Berkom)
+
+ * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
+ _gtk_icon_factory_ensure_default_icons, and make it non-static.
+
+ * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
+
2005-01-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder):
+2005-01-03 Matthias Clasen <mclasen@redhat.com>
+
+ Make gtk_icon_theme_load_icon() work independent of
+ icon factory initialization. (#162791, Tristan Van Berkom)
+
+ * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
+ _gtk_icon_factory_ensure_default_icons, and make it non-static.
+
+ * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
+
2005-01-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder):
+2005-01-03 Matthias Clasen <mclasen@redhat.com>
+
+ Make gtk_icon_theme_load_icon() work independent of
+ icon factory initialization. (#162791, Tristan Van Berkom)
+
+ * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
+ _gtk_icon_factory_ensure_default_icons, and make it non-static.
+
+ * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
+
2005-01-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder):
g_object_unref (factory);
}
-static void
-ensure_default_icons (void)
+void
+_gtk_icon_factory_ensure_default_icons (void)
{
if (gtk_default_icons == NULL)
{
tmp_list = g_slist_next (tmp_list);
}
- ensure_default_icons ();
+ _gtk_icon_factory_ensure_default_icons ();
return gtk_icon_factory_lookup (gtk_default_icons, stock_id);
}
ids = NULL;
- ensure_default_icons ();
+ _gtk_icon_factory_ensure_default_icons ();
tmp_list = all_icon_factories;
while (tmp_list != NULL)
/* ignore this */
void _gtk_icon_set_invalidate_caches (void);
GSList* _gtk_icon_factory_list_ids (void);
+void _gtk_icon_factory_ensure_default_icons (void);
#ifdef __cplusplus
}
#endif /* G_OS_WIN32 */
#include "gtkicontheme.h"
+#include "gtkiconfactory.h"
#include "gtkiconcache.h"
#include "gtkintl.h"
#include "gtksettings.h"
gboolean has_larger = FALSE;
BuiltinIcon *min_icon = NULL;
+ _gtk_icon_factory_ensure_default_icons ();
+
if (!icon_theme_builtin_icons)
return NULL;